Skip to content

[2.x] docs: Document incOptions.properties in scripted tests (#284) - #1756

Merged
eed3si9n merged 2 commits into
sbt:developfrom
jozanek:issue-284-document-incoptions-properties
Aug 11, 2026
Merged

[2.x] docs: Document incOptions.properties in scripted tests (#284)#1756
eed3si9n merged 2 commits into
sbt:developfrom
jozanek:issue-284-document-incoptions-properties

Conversation

@jozanek

@jozanek jozanek commented Jul 26, 2026

Copy link
Copy Markdown
Contributor

Fixes #284.

Adds zinc/src/sbt-test/README.md documenting the scripted test layout and the incOptions.properties format, linked from CONTRIBUTING.md.

Keys are split three ways, since parsing a key is not the same as honouring it: keys that take effect (with the scripted default, which differs from the IncOptions default for apiDebug, pipelining, recompileAllFraction), keys parsed but never observed (classfileManagerType, transactionalManagerBaseDirectory, allowMachinePath, apiDumpDirectory, ignoredScalacOptions), and IncOptions fields with no key.

Also notes the file is read once at project init, so mid-script copies of it do nothing.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the contribution!

For symmetry with sbt/sbt, could you move this to contributing-docs/scripted_tests.md please, and maybe a small zinc/src/sbt-test/README.md that points to it. I've been thinking that I need to copy sbt/sbt's contributing-docs to Zinc.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated

@eed3si9n
eed3si9n merged commit 0f7893d into sbt:develop Aug 11, 2026
14 of 15 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document the use of incOptions.properties in scripted tests

2 participants